<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>牛只管理</title>
    <link href="css/new_file.css" rel="stylesheet" type="text/css">
    <link href="css/mui.picker.min.css" rel="stylesheet" type="text/css">
    <link href="css/mui.min.css" rel="stylesheet" type="text/css">

    <script charset="UTF-8" src="js/config.js"></script>
    <script charset="UTF-8" src="js/testActivityName.js"></script>
    <script charset="UTF-8" src="js/core.js"></script>
    <script charset="UTF-8" src="js/cipher-core.js"></script>
    <script charset="UTF-8" src="js/tripledes.js"></script>
    <script charset="UTF-8" src="js/mode-ecb.js"></script>
    <script src="js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="js/zepto.min.js"></script>
    <script type="text/javascript" src="js/spin.min.js"></script>
    <script charset="UTF-8" src="js/mui.min.js"></script>
    <script src="js/echarts.min.js"></script>
</head>

<body>
<div class="fqpd">
    <div class="fqpd-ss">
        <p onclick="">人工判定发情</p>
    </div>
    <div class="fqpd-ss">
        <p onclick="">同期发情</p>
    </div>
    <div class="clear">
    </div>
</div>
<!--未配原因-->
<!--<div class="nzlb_tc" style="background: #FFFFFF;overflow-y: auto" id="lu_pan4">
    <div class="head-zhjf">
        <img src="images/fanhui@3x.png" class="ryjk-tx" onclick="hideysfaq()" >
        <p style="color: white;">未配原因</p>
    </div>
</div>-->
</body>
<script>
    //未配种原因列表
    function WPReason() {
        var keys = JSON.parse(localStorage.getItem('key'));
        var map = {};
        map.key = keys;
        map.phoneType = "android";
        map.language = "zh";
        var jsonStr = JSON.stringify(map);
        showDialog();
        var ajaxTimeoutTest = $.ajax({
            type: "POST",
            url: url_prefix + "wpReason",
            dataType: 'JSON',
            timeout: 10000,
            data: {
                'request': encryptByDES(jsonStr)
            },
            success: function(data) {
                dismissDialog();
                var str1 = decryptByDESModeEBC(data["result"]); //解密
                var params = str1.replace(/\+/g, " "); //去掉字符串里的+号
                var str2 = UTFTranslate.ReChange(chineseFromUtf8Url(params)); //转utf8
                var datas = JSON.stringify(str2); //转JSON字符串
                var aa = datas.replace(/\\n/g, " "); //去掉换行
                var objs = eval('(' + aa + ')');
                var bb = eval('(' + objs + ')');
                if(bb.head.status == 1) {
                    var  wpdata=bb.data;
                    for (i=0;i<wpdata.length;i++) {
                        var str='<div class="moban-lb">'
                            +'<div class="moban-lb-l" style="width: 100%">'
                            +'<a class="ziduan-mb" onclick="hideYuanYing(this)">'+wpdata[i].unmatch+'</a>'
                            +'</div>';
                        $("#lu_pan4").append(str);
                    }
                } else {
                    mui.alert(bb.head.info);
                }
            },
            complete: function(XMLHttpRequest, status) { //请求完成后最终执行参数
                dismissDialog();
                if(status == 'timeout') { //超时,status还有success,error等值的情况
                    ajaxTimeoutTest.abort();
                    mui.alert("网络请求超时...");
                }
            }
        });
    }
    // $(function () {
    //     WPReason();
    // });
</script>
</html>